<%--
  Created by IntelliJ IDEA.
  User: xiaoji
  Date: 2014/12/15
  Time: 10:55
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="/WEB-INF/lib/spring.tld"%>
<c:set value="${pageContext.request.contextPath}" var="path" scope="session"/>
<html>
<head>
    <title><spring:message code='result.message.msg1' /></title>
    <link href="${path}/style/acg/css/style.css" rel="stylesheet" type="text/css" />
    <script src="${path}/js/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<jsp:include page="../public/header.jsp"></jsp:include>
<div id="container">
    <div class="wrapper">
        <div class="border">
            <div class="modetitle">
                <spring:message code='result.message.msg2' />
            </div>
            <div class="regloginbox">
                <div class="reg_success">
                    <p><spring:message code='result.message.msg3' /></p>
                    <p><spring:message code='result.message.msg4' />：<em>${sessionScope.curUser.userName}</em>  <spring:message code='result.message.msg5' />:<em>${sessionScope.curUser.email}</em>   <spring:message code='result.message.msg6' />：<em>${sessionScope.curUser.phone}</em></p>
                    <p><span id="timer" style="color: #ff0e0e">5</span><spring:message code='result.message.msg7' /></p>
                    <p><a href="${path}/usercenter/index.html " class="btn_org"><spring:message code='result.message.msg8' /></a>,<a href="${path}/usercenter/getUserInfo.html">请验证邮箱和手机号!</a></p>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
var timer = $("#timer").html();
    setInterval(function(){
        timer--;
        if(timer > 0){
            $("#timer").html(timer);
        }else{
            window.location="${path}/usercenter/index.html";
        }

    },1000);
</script>
<jsp:include page="../public/footer.jsp"></jsp:include>
</body>
</html>
